package com.czxy.service;

import com.czxy.dao.CustomerMapper;
import com.czxy.domain.Customer;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


@Service
@Transactional
public  class CustomerServiceImpl implements  CustomerService{


    @Resource
    private CustomerMapper customerMapper;


    @Override
    public List<Customer> findAll() {
        return customerMapper.findAll();
    }
}
